package com.zkthink.ceres.store.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.zkthink.base.entity.Entity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;
import org.hibernate.validator.constraints.Length;

import static com.baomidou.mybatisplus.annotation.SqlCondition.LIKE;

@Data
@NoArgsConstructor
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("chl_city")
@ApiModel(value = "ChlCity", description = "所有的市")
@AllArgsConstructor
public class ChlCity extends Entity<Long> {

    private static final long serialVersionUID = 1L;

    @TableField(value = "code", condition = LIKE)
    private String code;
    @TableField(value = "text", condition = LIKE)
    private String text;
    @TableField(value = "value", condition = LIKE)
    private String value;
}